
#ifndef __ACQUIRE_API_CLIENT_H
#define __ACQUIRE_API_CLIENT_H

#include "acquire_common.h"

#define ACQUIRE_USER_REGISTER__USER_IS_AUTHORISED      1
#define ACQUIRE_USER_REGISTER__IS_ACCEPTED_FOR_REVIEW  2
#define ACQUIRE_USER_REGISTER__NAME_IS_INVALID         3
#define ACQUIRE_USER_REGISTER__USER_PENDING_REVIEW     4

#define ACQUIRE_USER_REGISTRATION_STATE__INVALID       1
#define ACQUIRE_USER_REGISTRATION_STATE__INCOMPLETE    2
#define ACQUIRE_USER_REGISTRATION_STATE__FINAL         3

EXPORTED int EXPORTABI acquireClientRegisterUserWithBroker();

EXPORTED int EXPORTABI acquireClientInitState(const char *hostname, int portno,  const char *sendingkeyname,
   const char *username, const char *password, const char *brokername);

#define ACQUIRE_USER_ADD_SSH__SSH_SUCCESS            1
#define ACQUIRE_USER_ADD_SSH__FINGERPRINT_UNTRUSTED  2
#define ACQUIRE_USER_ADD_SSH__SSH_ROUTING_FAILED     3
#define ACQUIRE_USER_ADD_SSH__SSH_ACCESS_DENIED      4

EXPORTED int EXPORTABI acquireClientAddSSHHost(const char *username_at_remotemachine, const char *password,
   const char *keyname, const char *keypassword);

#define ACQUIRE_UPLOAD_DATA_STORE__MISSING_DATA_KEYS 1

// Hack to expose host and port defaults without redefinition
#include "default_hosts.h"

#endif
